[INFO] cloning repository https://github.com/systemguard-io/systemguard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/systemguard-io/systemguard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystemguard-io%2Fsystemguard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystemguard-io%2Fsystemguard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ef5fc951389fb8a10c10ffc854c70aac5aa0415c
[INFO] fixing systemguard-io/systemguard against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystemguard-io%2Fsystemguard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/systemguard-io/systemguard
[INFO] finished tweaking git repo https://github.com/systemguard-io/systemguard
[INFO] tweaked toml for git repo https://github.com/systemguard-io/systemguard written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/systemguard-io/systemguard on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/systemguard-io/systemguard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kqueue-sys v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c
[INFO] running `Command { std: "docker" "start" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking filetime v0.2.29
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking collector v0.1.0 (/opt/rustwide/workdir/collector)
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking agent v0.1.0 (/opt/rustwide/workdir/agent)
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures::Stream;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `futures`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> agent/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{Context, Result};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tracing`
[INFO] [stdout]  --> agent/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, warn};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `tracing`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tracing`, use `cargo add tracing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> agent/src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:5:91
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...:Result<()> { if e.risk_score>50 { tracing::warn!("High risk {} {}", e.event.comm, e.risk_score); } Ok(()) }
[INFO] [stdout]   |                                       ^^^^^^^ use of unresolved module or unlinked crate `tracing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures`
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures::Stream;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `futures`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> agent/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{Context, Result};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tracing`
[INFO] [stdout]  --> agent/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, warn};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `tracing`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tracing`, use `cargo add tracing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> agent/src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tracing` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:5:91
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...:Result<()> { if e.risk_score>50 { tracing::warn!("High risk {} {}", e.event.comm, e.risk_score); } Ok(()) }
[INFO] [stdout]   |                                       ^^^^^^^ use of unresolved module or unlinked crate `tracing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:4:130
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...f) -> impl Stream<Item=RawEvent> { futures::stream::empty() } }
[INFO] [stdout]   |                                       ^^^^^^^ use of unresolved module or unlinked crate `futures`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `futures` in this scope
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:4:130
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...f) -> impl Stream<Item=RawEvent> { futures::stream::empty() } }
[INFO] [stdout]   |                                       ^^^^^^^ use of unresolved module or unlinked crate `futures`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/detector/mod.rs:8:52
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new(_c: &super::config::AgentConfig) -> anyhow::Result<Self> { Ok(Self { baseline: HashMap::new(), learning_mode: true }) }
[INFO] [stdout]   |                                                    ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl EbpfManager { pub fn load() -> anyhow::Result<Self> { Ok(Self) } pub fn event_stream(&self) -> impl Stream<Item=RawEvent> { futu...
[INFO] [stdout]   |                                     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(url: String) -> anyhow::Result<Self> { Ok(Self{url, client: reqwest::Client::new()}) }
[INFO] [stdout]   |                                ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:5:49
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub async fn send(&self, e: ScoredEvent) -> anyhow::Result<()> { if e.risk_score>50 { tracing::warn!("High risk {} {}", e.event.c...
[INFO] [stdout]   |                                                 ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/detector/mod.rs:8:52
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn new(_c: &super::config::AgentConfig) -> anyhow::Result<Self> { Ok(Self { baseline: HashMap::new(), learning_mode: true }) }
[INFO] [stdout]   |                                                    ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/ebpf/mod.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl EbpfManager { pub fn load() -> anyhow::Result<Self> { Ok(Self) } pub fn event_stream(&self) -> impl Stream<Item=RawEvent> { futu...
[INFO] [stdout]   |                                     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(url: String) -> anyhow::Result<Self> { Ok(Self{url, client: reqwest::Client::new()}) }
[INFO] [stdout]   |                                ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]  --> agent/src/sender.rs:5:49
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub async fn send(&self, e: ScoredEvent) -> anyhow::Result<()> { if e.risk_score>50 { tracing::warn!("High risk {} {}", e.event.c...
[INFO] [stdout]   |                                                 ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agent` (lib) due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `agent` (lib test) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c", kill_on_drop: false }`
[INFO] [stdout] c57b4c07d12038bf3a9574a5e3fbbff82d25e53a21034db9bc856b3a6afab01c
